home *** CD-ROM | disk | FTP | other *** search
/ PC Media 3 / PC MEDIA CD03.iso / share / udos / dos5tch / laserlst.doc < prev    next >
Encoding:
Text File  |  1991-11-21  |  2.7 KB  |  56 lines

  1.  
  2. LASERLST.COM
  3. Command
  4.  
  5. Michael Holmes and Bob Flanders
  6. 1989 No. 7 (Utilities)
  7.  
  8. Purpose:        Formats text files so that two standard-sized pages will print
  9. side-by-side on a single landscape mode page when using an HP LaserJet (or
  10. compatible) laser printer.
  11.  
  12. Format: [d:][path]LASERLST infile [outfile] [/Tn]
  13.  
  14. Updated: 8/24/90 To fix problem with IID, IIP and other series II near
  15. compatibles
  16.  
  17. Remarks:        The infile parameter designates the text file(s) to be printed.
  18. DOS "wildcards" (* and ?) can be used to designate multiple files, and a drive
  19. and path may also be included as part of infile.
  20.  
  21.         By default, LASERLST sends its output to the standard DOS printing
  22. device, which is normally LPT1:.  The optional outfile parameter can be used to
  23. direct the output either to another DOS device (e.g., LPT2:), or to a disk file
  24. instead.  The optional /Tn switch causes each tab character (ASCII 9) in the
  25. infile to be replaced in the outfile with n spaces.  The default value of n is
  26. 8; other values up to 16 may be used.
  27.  
  28.         The outfile produced by LASERLST contains the requisite formatting and
  29. printing Escape sequences used by the HP LaserJet series printers.  The infile
  30. is printed in landscape mode with two 66-line x 81-character pages on each
  31. physical page.  Files suitable for processing by LASERLST should be ASCII files
  32. that do not contain Escape sequences of their own and that do not require any
  33. specific word processor's formatting codes.  Underlining produced by a backspace
  34. and character overstrike is supported, however. LASERLST may be used with files
  35. whose line lengths exceed 81 characters if it is understood that lines will be
  36. wrapped automatically at their 82nd character and that no provision is made for
  37. word wrap.  LASERLST is especially suitable for printing program listings,
  38. readme files, and rough drafts of text to be edited.
  39.  
  40.         Available for downloading from PC MagNet (see the LASERLST by Modem
  41. sidebar in the published article), LASERLST.COM is already compiled and ready to
  42. run.  As an alternative, LASERLST.COM can be created from either of two program
  43. files that are both printed in the article and are available for downloading
  44. from PC MagNet.  LASERLST.BAS will automatically create LASERLST.COM when run
  45. once in BASIC.  To create LASERLST.COM from the LASERLST.ASM source code
  46. requires use of a macro assembler (IBM or Microsoft, Version 2 or later) and the
  47. following commands:
  48.  
  49. MASM LASERLST;
  50. LINK LASERLST;
  51. EXE2BIN LASERLST LASERLST.COM;
  52.  
  53. ** Special Note:  This utility is also a mentioned in the Ziff-Davis Press
  54. book "PC Magazine's DOS 5 Techniques and Utilities" by Jeff Prosise. Both
  55. this DOCumentation file and in the book's utility reference stand as correct.
  56.